package org.ym.thread.application.command;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;

/**
 * @author ym
 */
@Builder
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@Getter
public class ThreadPoolExecuteCommand {
    /**
     * key
     */
    private Long key;
    /**
     * 线程
     */
    private Runnable runnable;
}
